package com.example.demo55.service.impl;

import com.example.demo55.dao.InvictionMapper;
import com.example.demo55.entity.Inviction;
import com.example.demo55.service.InvictionService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InvictionServiceImpl implements InvictionService {
    @Autowired
    private InvictionMapper invictionMapper;
    @Override
    public List<Inviction> getUserList(@Param("title") String title) {
        return invictionMapper.getUserList(title);
    }
}
